html,
body {
    width: 100%;
    height: 100%;
}

header {
    width: 100%;
    height: 150px;
    background-color: rgb(250, 246, 246);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

header a {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 140px;
}

header img {
    width: 95px;
    height: 95px;
    margin: 40px;
}

/* 导航 */
#mainer .nav-index {
    margin: 0 auto;
    width: 100%;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background-color: #43240c;
}

#mainer .nav-index>ul li {
    width: 220px;
    color: #43240c;
    background-color: #fee44e;
}

header .title {
    font-size: 20px;
}

section .wraper {
    position: relative;
    float: left;
    margin: 0 auto;
    background-color: #fff;
}

section .wraper>div {
    float: left;
}

section .wraper .g-left {
    width: 282px;
}

section .wraper .g-left .m-show {
    width: 282px;
    height: 282px;
    position: relative;
    margin-bottom: 10px;
}

section .wraper .g-left .m-show img {
    width: 100%;
    height: 100%;
}

section .wraper .g-left .mask {
    position: absolute;
    top: 0;
    left: 0;
}

section .wraper .m-choose li {
    float: left;
    cursor: pointer;
    width: 60px;
    height: 60px;
    padding: 0 5px;
}

section .wraper .m-choose li>img {
    width: 100%;
    height: 100%;
}

/* 右边内容 */
section .g-right {
    width: 534px;
    margin: 10px 0 0 28px;
    line-height: 40px;
    padding-right: 50px;
}

section .g-right p {
    font-size: 16px;
    line-height: 30px;
}

section .g-right .p-add {
    position: absolute;
    bottom: 10px;
    right: 35px;
}

section .g-right .p-add>div:nth-child(1) {
    float: left;
    position: absolute;
    left: -336px;
    bottom: 15px;
}

section .g-right .p-add>div:nth-child(2) {
    float: right;
}

section .g-right .price {
    width: 100px;
    color: rgba(255, 0, 0, 0.883);
    font-size: 30px;
    font-weight: bolder;
}

section .g-right .p-add span:nth-child(2) {
    border: 1px solid rgb(221, 56, 56);
    color: tomato;
    padding: 0px 10px;
    margin-left: 20px;
    font-size: 14px;
    border-radius: 5px;
}

section .g-right .cart-add {
    float: right;
    border: none;
    outline: none;
    width: 200px;
    height: 50px;
    background-color: red;
    color: #f3eaea;
    border-radius: 20px;
    font-size: 20px;
    font-weight: bolder;
    cursor: pointer;
}

section .g-right>h2 {
    font-size: 22px;
    color: #43240c;
    font-weight: normal;
    line-height: 33px;
    margin-top: 5px;
}

section .g-right>h2>span:nth-child(1) {
    padding: 3px 7px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    margin-right: 6px;
    background-color: rgba(238, 42, 42, 0.883);
}

section .g-right>h2>span:nth-child(2) {
    padding: 3px 7px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    color: #ccc;
    font-size: 16px;
    margin-right: 6px;
}

section .g-right .info {
    width: 530px;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #b1a9a5;
    line-height: 22px;
    background-color: #f5f5f5;
    overflow: hidden;
    margin-top: 10px;
}

section .g-right .cart-add:hover {
    background-color: rgb(247, 5, 5);
}

/* 选项卡 */
.current {
    border: 1px solid #000;
}

/* 遮盖层 */
.mask {
    display: none;
    width: 100px;
    height: 100px;
    background: #c4d81093;
    pointer-events: none;
}

/* 放大镜 */
.g-right-wrap {
    display: none;
    position: relative;
    position: absolute;
    top: 0;
    left: 300px;
    width: 350px !important;
    height: 350px;
    overflow: hidden;
    z-index: 99;
}

.g-right-wrap>img {
    position: absolute;
}

section .sale-info {
    float: right;
    width: 275px;
    background-color: #fff;
    border: 1px solid #fee44e;
    font-weight: 500;
    text-align: center;
}

section .sale-info>div:nth-child(1) {
    display: table-cell;
    line-height: 31.5px;
    width: 273px;
    height: 63px;
    margin: 1px 0;
    background: linear-gradient(180deg, #fee44e, #fff 85%, #fff);
    font-size: 14px;
    color: #43240c;
}

section .sale-info>img {
    width: 150px;
    height: 150px;
    margin: 3px auto 0;
}

section .sale-info>p {
    font-size: 17px;
    color: #43240c;
    line-height: 32px;
}

section .sale-info .dec {
    width: 168px;
    height: 44px;
    margin: 9px auto 17px;
    padding-bottom: 30px;
}

section .sale-info .dec ul>li {
    float: left;
    padding: 5px 13px;
    font-size: 14px;
    color: #b1a9a5;
    line-height: 20px;
}

section .sale-info .dec ul:nth-child(2) li {
    font-size: 14px;
    color: #fb9547;
    padding: 10px 18px;
}

#mainer .content {
    width: 790px;
    margin: 83px 0 6px 100px;
}

#mainer .content>img {
    width: 100%;
    height: 100%;
}